<style type="text/css">
    .zlh{
        width:25px
    }
</style>
<h3 class="page-title">资源标签</h3>
<div class="tabbable-custom">
    <tabset>
        <tab ng-repeat="mark in parentMarks" heading="{{mark.markName}}">
            <div class="tab-content">
                <div class="tab-pane active">
                    <div class="portlet">
                        <div class="portlet-title">
                        	<button class="btn btn-success title-action" ng-click="markGrid.add(mark)"
								tabindex="0">
								<i class="fa fa-plus"></i> 新增标签
							</button>
                        </div>
                        
                        <div class="portlet-body">
                            <table ed-grid="markGrid_{{mark.markId}}" class="table table-striped table-bordered table-hover dataTable"
                                   ed-url="markType/query.do?parentId={{mark.markId}}" ed-model="markType" style="width: 100%">
                                <thead>
                                    <tr>
                                        <th ed-width="5%" ed-data="_index"></th>
                                        <th ed-width="70%" ed-data="markName" class="edited input">标签名称</th>
                                        <th ed-width="25%">操作</th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </tab>
    </tabset>
</div>

<div ed-modal="markModal" data-options="width:'500px',static:true, icon: 'glyphicon glyphicon-paperclip'">
    <div class="form" style="overflow: auto;height: 180px;">
        <form action="#" class="form-horizontal w5c-form" w5c-form-validate novalidate name="validateForm">
            <div class="form-body">
                <div class="form-group">
                    <label class="col-md-3 control-label"><span class="required">*</span>标签名称</label>
                    <div class="col-md-4">
                        <input style="width: 250px;" type="text" class="form-control" name="markName" ng-model="markType.markName" required>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
